import request from '@/utils/request'

export function getInfo(query) {
  return request({
    url: '/scm/vehicleRegistration/query',
    method: 'get',
    params: query
  })
}

export function getByphone(phone) {
  return request({
    url: `/scm/vehicleRegistration/query/${phone}`,
    method: 'get'

  })
}
export function add(data) {
  return request({
    url: `/scm/vehicleRegistration/inOrOut`,
    method: 'post',
    data
  })
}
export function getList(text) {
  return request({
    url: `/scm/vehicleRegistration/get/${text}`,
    method: 'get'
  })
}
export function reportForm(data) {
  return request({
    url: `/scm/vehicleRegistration/boardQuery`,
    method: 'get',
    params: data
  })
}
export function checklist(data) {
  return request({
    url: `/scm/vehicleRegistration/boardQuery`,
    method: 'get',
    params: data
  })
}

